package com.ldc.message.viewmodel

import com.ldc.commonlibs.common.ViewModelBase
import com.ldc.message.server.MessageServer

class MessageViewModelBase : ViewModelBase() {
    private val server: MessageServer =
        getServer(MessageServer::class.java)

    fun readedList(p: Int = 0) = launchListUi {
        server.readedList(p)
    }

    fun unReadList(p: Int = 0) = launchListUi {
        server.unReadedList(p)
    }
}